package com.woniuxy.food.client.foodskupicclient;

import com.woniuxy.food.client.result.FoodSkuPicClientDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import result.Result;

import java.util.List;

@FeignClient(contextId = "foodSkuPicQueryClient",name = "food")
public interface FoodSkuPicQueryClient {
    @GetMapping("/searchFoodSkuPic")
    public Result<List<FoodSkuPicClientDto>> searchFoodSkuPic(@RequestParam("skuId") Integer skuId);
}
